package com.linksfield.topup.entity.interfaces.planmanage.search.request;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;

/**
 * 套餐服务计划：搜索时，
 * request：前端 RequestServicePlanSearch
 * response：后端 ResponseServicePlanSearch
 *
 * @author: lm
 * @date: 2019-11-26 15:40
 */
@Data
public class RequestServicePlanSearch implements Serializable {

    private static final long serialVersionUID = 7247080807252869377L;

    @ApiModelProperty(value = "接口业务类型 。此字段不可传空字符串", example = "search", dataType = "String")
    private String tradeType;

    @ApiModelProperty(value = "中英文请求标志：cn/en。此字段不可传空字符串 ", example = "cn", dataType = "String")
    private String lang;

    @ApiModelProperty(value = "定义接口的请求版本，本次接口值：3.0。此字段不可传空字符串 ", example = "3.0", dataType = "String")
    private String version;

    @ApiModelProperty(value = "当前页码：默认第1页。Integer类型不可传空 ", example = "1", dataType = "String")
    private Integer currentPage;

    @ApiModelProperty(value = "当前页面显示多少行：默认10行。Integer类型不可传空", example = "10", dataType = "String")
    private Integer rp;

    @ApiModelProperty(value = "企业唯一编码;全部请传空字符串。此字段可传空字符串", example = "P000270", dataType = "String")
    private String partnerCode;

    @ApiModelProperty(value = "套餐状态（1-已新建（已配置）；2-已上架；3-已下架；1和3合起来称为：未上架。）;全部请传空字符串。此字段可传空字符串", example = "1", dataType = "String")
    private String servicePlanStatus;

    //@ApiModelProperty(value = "套餐语言：0-中文；1-英文;全部请传空字符串。此字段可传空字符串 ", example = "PACKAGE20180428000007", dataType = "String")
    //private String languageType;

    @ApiModelProperty(value = "搜索条件:原始套餐名称/原始套餐编码/新建套餐名称/新建套餐编码 ;全部请传空字符串。此字段可传空字符串", example = "套餐", dataType = "String")
    private String condition;


}
